#ifndef CLIENT3_H
#define CLIENT3_H

#include <QWidget>
#include<QTcpSocket>
#include <QTcpSocket>
#include <QHostAddress>
#include"client.h"
#include"client2.h"
#include<QTabWidget>
#include<QPixmap>
#include<QDebug>
#include <QVideoWidget>
#include<QCamera>
#include<QCameraInfo>
#include<QCameraImageCapture>
#include<QMediaPlayer>
#include<QMediaPlaylist>
#include<QStringList>
#include<QFileDialog>
#include<QMovie>
#include<QPixmap>
#include<QPainter>
#include <QTcpServer>
#include <QListWidgetItem>
#include <QVideoWidget>
#include<QKeyEvent>
#include<QProcess>
#include <QSerialPort>
#include <QMenuBar>
#include <QMenu>
#include <QAction>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QJsonParseError>
#include <QJsonDocument>


namespace Ui {
class client3;
}

class client3 : public QWidget
{
    Q_OBJECT

public:
    explicit client3(QWidget *parent = nullptr);
    ~client3();


private slots:
    void replyFinished(QNetworkReply *reply);
    void on_pushButton_25_clicked();

    void on_pushButton_38_clicked();

    void on_pushButton_51_clicked();

    void on_pushButton_81_clicked();

    void on_pushButton_82_clicked();

    void on_pushButton_24_clicked();

    void on_pushButton_83_clicked();

    void on_pushButton_53_clicked();

    void on_pushButton_54_clicked();

    void on_pushButton_84_clicked();

    void on_pushButton_85_clicked();

    void on_pushButton_86_clicked();

    void on_pushButton_87_clicked();

    void on_pushButton_14_clicked();

    void on_pushButton_13_clicked();

//    void clientDisConnect();
//    void connectServer();
    void readData();
    void messlot();


    void on_pushButton_996_clicked();

    void on_pushButton_997_clicked();

    void on_pushButton_998_clicked();

    void on_pushButton_clicked();

private:
    Ui::client3 *ui;
//    QTcpSocket* m_tcp;
    QSerialPort *m_serial;
    QNetworkAccessManager *manager;
};

#endif // CLIENT3_H
